<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo config_item('site_name');?> CMS | Login</title>
<link href="<?php echo base_url();?>public/skin/back-end/css/popin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- Dialog box -->
<div id="shadowup" align="center"></div>
<div id="dialog" align="center">
  <div id="popinbox">
  <form method="post" action="">
    <div>
      <h2><?php echo config_item('site_name');?> CMS</h2>
      <p class="msg">Please enter username and password.</p>
      <table cellpadding="0" cellspacing="0">
        <tr>
          <td class="namefield">Username :</td>
		  <input type="hidden" name="check" value="1" />
          <td class="boxfields"><input name="username" type="text" id="username" size="16" maxlength="16" /></td>
        </tr>
        <tr>
          <td class="namefield">Password : </td>
          <td class="boxfields"><input name="password" type="password" id="password" size="16" maxlength="16" /></td>
        </tr>
        <tr>
          	<td class="namefield"></td>
          <td align="left" class="boxfields"><?php echo $captcha['image'];?></td>
        </tr>
        <tr>
          <td class="namefield">Enter Captcha : </td>
          <td class="boxfields"><input type="text" name="captcha_input" size="16" maxlength="16" /></td>
        </tr>
      </table>
      <p><?php echo (isset($message))?$message:null;?></p>
      <input name="login" type="submit" value="Login" />
      <input name="resetfields" type="reset" value="Reset" />
    </div>
	    </form>
  </div>
</div>
<div id="shadowdown" align="center"></div>
</body>
</html>
